package com.baizhi.rjb.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class CategoryDelDto {
    private Integer id;
    private Integer parentId;

    @Override
    public String toString() {
        return "CategoryDelDto{" +
                "id=" + id +
                ", parentId=" + parentId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public CategoryDelDto(Integer id) {
        this.id = id;
    }

    public CategoryDelDto() {
    }
}
